tar xf ${DOWNLOADDIR}/gcc-15.2.0.tar.xz -C ${BUILDDIR}
pushd ${BUILDDIR}/gcc-15.2.0
	mkdir tools-build
	pushd tools-build
		AR=ar LDFLAGS="-Wl,-rpath,${SYSDIR}/cross-tools/lib" \
		../configure --prefix=${SYSDIR}/cross-tools --build=${CROSS_HOST} --host=${CROSS_HOST} \
		             --target=${CROSS_TARGET} --disable-nls \
		             --with-mpfr=${SYSDIR}/cross-tools --with-gmp=${SYSDIR}/cross-tools \
		             --with-mpc=${SYSDIR}/cross-tools \
		             --with-newlib --disable-shared --with-sysroot=${SYSDIR}/sysroot \
		             --disable-decimal-float --disable-libgomp --disable-libitm \
		             --disable-libsanitizer --disable-libquadmath --disable-threads \
		             --disable-target-zlib --with-system-zlib --enable-checking=release \
		             --enable-default-pie \
		             --enable-languages=c
		make all-gcc all-target-libgcc ${JOBS}
		make install-strip-gcc install-strip-target-libgcc
	popd
	cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
	`dirname $(${CROSS_TARGET}-gcc -print-libgcc-file-name)`/include/limits.h
popd
